package com.wonking.springbootv2.dao;

import org.springframework.stereotype.Repository;

import com.github.pagehelper.Page;
import com.wonking.springbootv2.entity.User;


@Repository
public interface UserDao {
    User getUser(Long id);
    int insertUser(User user);
    // 删除用户
    int deleteUser(Long id); 
    Page<User> getUserList();
}